package com.ziyun.erp.modules.userTeam.dao;

import com.baomidou.mybatisplus.plugins.pagination.Pagination;
import com.ziyun.erp.modules.userTeam.entity.UserTeamEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.ziyun.erp.modules.userTeam.entity.UserTeamVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 团队表
 * 
 * @author jiangli
 * @email 
 * @date 2018-11-16 16:19:35
 */
public interface UserTeamDao extends BaseMapper<UserTeamEntity> {

    List<UserTeamVo> list(@Param("page")Pagination page, @Param("map")Map<String, Object> map);

    int updateApplyType(@Param("userId")Integer userId,@Param("sourceType")String sourceType);//useiId,sourceType
	
}
